26f0b8e66d0b8261ce9aa6140b0ef719fcf98476,beam-meris-case2-regional/src/main/java/org/esa/beam/merisc2r/algorithm/fit/MerisC2R_GLM.java,MerisC2R_GLM,modelAndJacobian,#number[]#,81
Before Change
if(amPoller) {
System.arraycopy(pars, 0, myLM.newpars, 0, npars);
}
nnRes = forwNN.calcJacobi(nnIn);
myLM.modelRes = nnRes.nnOutput;
for (int i = 0; i < nmeas; i++){
After Change
if(amPoller) {
System.arraycopy(pars, 0, myLM.newpars, 0, npars);
}
NNCalc nnRes = forwNN.calcJacobi(nnIn);
myLM.modelRes = nnRes.getNnOutput();
final double[][] jacobiMatrix = nnRes.getJacobiMatrix();
for (int i = 0; i < nmeas; i++){
//System.out.println("modres= " + myLM.finalModelRes[i]);
for (int j = 0; j < npars; j++){